import { CommonNodeTypeEnum, LaneNodeTypeEnum } from '/@/type/enums';
import { IElement } from '/@/type/index';

export const commonNodes: IElement[] = [
  {
    type: CommonNodeTypeEnum.START,
    nodeName: '开始',
    icon: 'src/assets/icons/start.svg',
    // icon: 'PlayCircleOutlined',
  },
  {
    type: CommonNodeTypeEnum.END,
    nodeName: '结束',
    icon: 'src/assets/icons/end.svg',
  },
];

export const highNodes: IElement[] = [
  {
    type: CommonNodeTypeEnum.RECT,
    nodeName: '节点',
    icon: 'src/assets/icons/user.svg',
  },
  {
    type: CommonNodeTypeEnum.MAJOR,
    nodeName: '关键节点',
    icon: 'src/assets/icons/major.svg',
  },
];

export const laneNodes: IElement[] = [
  {
    type: LaneNodeTypeEnum.X_LANE,
    nodeName: '横向泳道',
    icon: 'src/assets/icons/xlane.svg',
  },
  {
    type: LaneNodeTypeEnum.Y_LANE,
    nodeName: '纵向泳道',
    icon: 'src/assets/icons/ylane.svg',
  },
];
